﻿<html DIR="LTR" xmlns:tool="http://www.microsoft.com/tooltip" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
  <head>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" />
    <META NAME="save" CONTENT="history" />
    <title>Sample JDBC Driver Applications</title>
    
    <link rel="stylesheet" type="text/css" href="../local/Classic.css">
      
    </link>
    
    <script src="../local/script.js">
      
    </script><script src="../local/script_main.js">&amp;nbsp;</script>
  </head>
  <body>
    <!--Topic built:03/05/2009 21:01:45-->

    
    
    
    
    
    
    
    
    
    <div id="header">
      <table width="100%" id="topTable"><tr>
          <td align="left">
            <span id="headerBold">Sample JDBC Driver Applications</span>
          </td>
          <td align="right">
            
          </td>
        </tr></table>
      
      
      
    </div>
    <div id="mainSection">
      
        
        
		<font color="DarkGray"> </font> <p /> <p />
	
        <div id="introductionSection" class="section">
    <p>The Microsoft SQL Server JDBC Driver sample applications demonstrate various features of the JDBC driver. Additionally, they demonstrate good programming practices that you can follow when using the JDBC driver with a SQL Server database. </p>
    <p>All the sample applications are contained in *.java code files that can be compiled and run on your local computer, and they are located in various subfolders in the following location:</p>
    <p>&lt;<i>installation directory</i>&gt;\sqljdbc_&lt;<i>version</i>&gt;\&lt;<i>language</i>&gt;\help\samples</p>
    <p>The topics in this section describe how to configure and run the sample applications, and include a discussion of what the sample applications demonstrate.</p>
  </div><h1 class="heading">In This Section</h1><div id="inThisSectionSection" class="section">
    <content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
      <table width="100%" cellspacing="0" cellpadding="0" border="1" style="background-color: #CCCCCC;" xmlns=""><tr>
            <th>
              Topic
            </th>
            <th>
              Description
            </th>
          </tr><tr>
          <td>
            <p>
              <a href="ce43cc20-46a3-42ff-a3fb-75ad1ed10e08.htm">Connecting and Retrieving Data</a>
            </p>
          </td>
          <td>
            <p>These sample applications demonstrate how to connect to a SQL Server database. They also demonstrate different ways in which to retrieve data from a SQL Server database.</p>
          </td>
        </tr><tr>
          <td>
            <p>
              <a href="b39f44d0-3710-4bc6-880c-35bd8c10a734.htm">Working with Data Types (JDBC)</a>
            </p>
          </td>
          <td>
            <p>These sample applications demonstrate how to use the JDBC driver data type methods to work with data in a SQL Server database.</p>
          </td>
        </tr><tr>
          <td>
            <p>
              <a href="4fc4b1c6-3075-4ad7-9244-865d9ede7ae6.htm">Working with Result Sets</a>
            </p>
          </td>
          <td>
            <p>These sample applications demonstrate how to use result sets to process data contained in a SQL Server database.</p>
          </td>
        </tr><tr>
          <td>
            <p>
              <a href="5b93569f-eceb-4f05-b49c-067564cd3c85.htm">Working with Large Data</a>
            </p>
          </td>
          <td>
            <p>These sample applications demonstrate how to use adaptive buffering to retrieve large-value data from a SQL Server database without the overhead of server cursors.</p>
          </td>
        </tr></table>
    </content>
  </div><span id="seeAlsoSpan"><h1 class="heading">See Also</h1></span><div id="seeAlsoSection" class="section" name="collapseableSection"><a href="939a8773-2583-49a4-bf00-6b892fbe39dc.htm">Overview of the JDBC Driver</a><br /><br /></div><!--[if gte IE 5]>
			<tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/><tool:tip element="roleInfoSpan" avoidmouse="false"/>
		<![endif]-->
      <div id="footer" class="section">
        
		<hr />
		
		<span id="fb" class="feedbackcss">
			
			
		</span>
		
		<a href="9bad553b-9e70-4696-8499-2e35f772a1e0.htm">
			
			© 2009 Microsoft Corporation. All rights reserved.
		</a>
 	
	
      </div>
    </div>
  </body>
</html>